package main

import "runtime"

func main() {
	runtime.GOMAXPROCS(runtime.NumCPU())
	InitConfig()
	InitLog()
	defer log.Flush()
	InitDB()
	go StartHttpServe()
	go send()
	StartTcpServe()
}
